<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:fn="http://java.sun.com/jsp/jstl/functions"
	xmlns:p="http://primefaces.org/ui">

<h:head>
	<title>#{empty title ? msg.defaultTitle : title}</title>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

	<link rel="stylesheet" type="text/css"
		href="#{facesContext.externalContext.request.contextPath}/resources/css/style.css" />
</h:head>

<h:body>
	<h:form id="main-form">
		<p:layout fullPage="true" style="overflow:hidden">
			<p:layoutUnit position="north" header="Menu" size="75" style="overflow:hidden">
				<ui:include src="/snippets/menu.xhtml" />
			</p:layoutUnit>

			<p:layoutUnit position="center" header="Content">
				<ui:insert name="body">Body Content</ui:insert>
			</p:layoutUnit>

			<p:layoutUnit position="south" size="30">
				<ui:insert name="footer">Footer</ui:insert>
			</p:layoutUnit>
		</p:layout>
	</h:form>
</h:body>
</html>